home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Speccy ClassiX 1998
/
Speccy ClassiX 98.iso
/
amiga_system
/
the_aminet
/
dev
/
gui
/
gutil_3656.readme
< prev
next >
Wrap
Text File
|
1995-11-09
|
17KB
|
337 lines
Short: GUI creation library (small & fast)
Author: P-O Yliniemi / Staffan HΣmΣlΣ
Uploader: P-O Yliniemi
Version: 36.56
Type: dev/gui + util/libs
This library is currently in its ▀eta testing stage. The only thing that
is missing is some of the docs. All advanced functions are described, and
all less advanced functions have at least a short usage docs.
Some examples may have weird names (for those who don't understand swedish),
and some text files may be in swedish. This will be fixed for next release.
Two versions of the .library file is available with this developer package.
One is the "normal" library, and the other one prints out a lot of info when
executing a program that uses GadUtil.
If you need to use the debug version, rename the normal version in libs:,
copy the debug version to libs, and rename it to gadutil.library. Reverse
this to change back to the normal version. Don't forget to "flush" all
unused libraries or reboot before testing the program again.
All necessary files for Asm & C development are included.
P-O 951026
~~~~~~~~~~
------------------------------------------------------------------------------
GadUtil.library v36.56
~~~~~~~~~~~~~~~~~~~~~~
GadUtil is another gui library which main goal was to make it easy to
create font sensitive user interfaces. The library has grown away from
this main goal, and become another useful-routine-library.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Distribution:
1) Distribution of this library is allowed in two ways:
╣) Only the .library file
▓) The complete distribution
2) Programmers of totally free software can use and distribute this
library for free.
3) Programmers of Shareware, Licensware, commercial products and other
programs that the programmer get any kind of profit from shall send
a fully working (and registered) copy of the program and its docs to
us. All larger updates of the program should also be sent to us.
4) Programmers of non-free software not covered by 1) and 2) (my Diskware
concept belongs to this group) shall be treated as in 3) (a fully
working and registered copy...).
5) All programs (except commercial products in some cases) must state
that gadutil.library is used. This may be done in either the About
requester or in the documentation, but best of all in both places.
Demonstration programs for gadutil.library (that includes the full
source) may be distributed without this note.
Example for inclusion in About requester:
"This program uses gadutil.library, which
is Copyright ⌐ 1994-1995 by P-O Yliniemi
and Staffan HΣmΣlΣ."
6) All localized programs that uses this library should include the
.ct file(s) to allow anyone to translate that program into their
own language.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Below is a list of some of the main functions covered by this library.
* FAST (NO OR VERY SMALL DIFFERENCE AGAINST GADTOOLS) AND SMALL (LESS THAN 10k).
WRITTEN IN ASSEMBLY LANGUAGE. NO F*CKING 'C' or any other slow language!
* Font adaptive. Use any of the system fonts and most other fonts for
gadgets, texts and menus. All gadgets are placed relative to each
other, but can be placed at absolute positions (needed for the first
gadget).
* No need to use GIMMEZEROZERO windows, as this is automatically handled
by the library. If you specify a gadget position of 10,10 the gadget
will be placed at 10,10 within the window's border.
* Localized. It is really easy to localize all your (new) programs by
using this library. Functions and macros for creating localized menus
are supplied.
* Both assembly and 'C' language support. This is one of the things that is
missing in most of the other gui libraries. Some extra macros are defined
for assembly language users, and will make the gadget and menu creating
process even more easy.
* All GadTools gadgets are supported. Some extra functions are provided
for ListViews. BUTTON_KIND (and IMAGE_KIND) gadgets have some extra tags,
including a toggle-select option.
5 extended gadget types are handled by the library:
╖ FILE_KIND - gadget for selecting a file.
╖ DRAWER_KIND - gadget for selecting a drawer. Most programs also
use this gadget for file selection.
╖ IMAGE_KIND - uses an intuition image for the gadget. Can use
different images for selected and non-selected state.
╖ BEVELBOX_KIND - gadtools bevelboxes, with some extensions. All
gadtools bevelboxes are supported (even with v37).
Extensions allows text to be placed above, in or below
the upper line of the box. All kinds can be inverted.
New for v36.52: Bevelbox text placement extended.
3 new placements available together with the old
ones: centered, left adjusted & right adjusted.
BFT_BUTTON - GT v37 BUTTON_KIND border
BFT_RIDGE - GT v37 STRING_KIND border
BFT_DROPBOX - GT v39 BBFT_ICONDROPBOX border
BFT_HORIZBAR - A horizontal shadowed line
BFT_VERTBAR - A vertical shadowed line
This makes it a total of 100 bevel box types. The bevel
boxes are treated as gadgets by the library, and you
can obtain the structure for the bevelbox in the same
way as you get the gadget pointer.
New for v36.53: Added optional shadow on bevel box text.
The shadow has a selectable color/pen and the "sun" can
be placed in four different positions.
╖ PROGRESS_KIND - progress indicator gadget. Background and fill color
can be selected. Supports values up to 4.294.967.295,
but maximum value should not exceed 4.294.967.295/width.
v36.55.
* Can create the minimum required IDCMP mask so that all gadgets works.
* A new OpenFont (graphics.library and diskfont.library replacement) is supplied.
This function will open any font (from RAM, ROM or load it from disk).
* Functions for listviews include adding nodes (memory for the string is
allocated by the function), counting nodes, getting node pointers, clearing
a listview, attach and detach lists, moving nodes up and down.
* No need to open gadtools.library anymore, since all gadtools functions are
provided through this library. Some (the most useable) functions from locale
library are also provided by gadutil.
* Many libraries are opened through gadutil.library, and these library bases
are available for your own use (you don't have to open or close some libs).
* All gadgets are created using tag lists. Every next gadget will use the
previous gadgets values as defaults. Only one call to the gadget making
routine is needed for every gadget list.
* All gadgets can have their own hotkey. No extra work is needed by the
programmer (only one extra tag).
* Distributed with lots of examples, mostly in assembly language, but also
in 'C'.
* Other functions include:
╖ Status change for toggle select buttons.
╖ String change for STRING and TEXT_KIND gadgets.
╖ Disable functions for all gadget kinds (new for 36.56).
╖ Routines to set up a busy-pointer (available for both v37 and v39). These
routines also blocks the input to the main window of the program.
╖ Routine to check if the mouse pointer is within a gadgets box. Useful
for mouse-position sensitive appwindows.
╖ Bevelbox and window refreshing functions.
* FAST (NO OR VERY SMALL DIFFERENCE AGAINST GADTOOLS) AND SMALL (LESS THAN 10k).
WRITTEN IN ASSEMBLY LANGUAGE. NO F*CKING 'C' or any other slow language!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Per-Olof Yliniemi Staffan HΣmΣlΣ
Box 78 PellovΣgen 268
S-980 61 TΣrend÷ S-957 93 Pello
SWEDEN SWEDEN
email: email:
P-O_Yliniemi@spectre.talshiar.pp.se < no address for now >
phone:
+46-(0)978-20522
Don't send programs through e-mail, since I have no way to regulary check
my mail!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
532 306 42.4% 26-Oct-95 07:42:02 +- MakeArchive -.info
564 229 59.3% 01-Sep-95 21:18:12 +CatalogUtils.info
296 144 51.3% 16-Jun-95 17:08:34 +ASM-One_Data.sd
23292 13027 44.0% 21-Feb-95 18:49:44 +FlexCat
47196 14536 69.2% 16-Jun-95 17:10:36 +FlexCat_Eng.guide
1698 645 62.0% 31-Aug-95 10:23:40 +FlexCat_Quick.doc
305 160 47.5% 16-Jun-95 17:09:24 +Lattice_Data.sd
564 229 59.3% 15-Sep-95 11:57:10 +Docs.info
564 233 58.6% 01-Sep-95 20:55:22 +AutoDocs.info
1462 360 75.3% 27-May-95 18:49:42 +00.GU_TableOfContents
3445 1498 56.5% 18-Jun-95 20:58:26 +01.GU_LayoutGadgetsA
21512 5506 74.4% 10-Oct-95 20:42:12 +01.GU_PreliminaryDocs
374 192 48.6% 09-Jan-95 13:58:26 +02.GU_FreeLayoutGadgets
3360 1419 57.7% 17-Jun-95 15:00:10 +03.GU_CreateGadgetA
1542 725 52.9% 18-Jun-95 22:10:52 +04.GU_SetGadgetAttrsA
1761 884 49.8% 17-Jun-95 15:02:24 +05.GU_GetIMsg
727 361 50.3% 27-May-95 23:13:04 +06.GU_CountNodes
408 219 46.3% 09-Jan-95 13:59:06 +07.GU_GadgetArrayIndex
765 379 50.4% 08-Feb-95 22:45:58 +08.GU_BlockInput
598 302 49.4% 16-Jun-95 21:26:20 +09.GU_FreeInput
639 333 47.8% 18-Jun-95 21:42:58 +10.GU_FreeGadgets
445 247 44.4% 09-Jan-95 14:00:30 +11.GU_SetGUGadAttrsA
1726 799 53.7% 08-Feb-95 23:23:24 +12.GU_CoordsInGadBox
3576 1167 67.3% 16-Jun-95 20:57:00 +13.GU_GetGadgetPtr
677 350 48.3% 16-Jun-95 19:15:10 +14.GU_TextWidth
906 411 54.6% 18-Jun-95 20:18:58 +15.GU_GetLocaleStr
1877 823 56.1% 16-Jun-95 21:30:30 +16.GU_CreateLocMenuA
2238 966 56.8% 18-Jun-95 20:12:00 +17.GU_OpenCatalog
685 356 48.0% 18-Jun-95 20:17:40 +18.GU_CloseCatalog
390 209 46.4% 09-Jan-95 14:01:32 +19.GU_DisableGadget
388 219 43.5% 09-Jan-95 14:01:38 +20.GU_SetToggle
367 204 44.4% 10-Jan-95 12:37:50 +21.GU_RefreshBoxes
1062 512 51.7% 18-Jun-95 22:01:42 +22.GU_RefreshWindow
370 212 42.7% 13-Jan-95 21:45:24 +23.GU_OpenFont
317 183 42.2% 13-Jan-95 21:58:46 +24.GU_NewList
399 222 44.3% 13-Jan-95 22:02:24 +25.GU_ClearList
367 208 43.3% 13-Jan-95 22:08:42 +26.GU_DetachList
383 214 44.1% 13-Jan-95 22:11:52 +27.GU_AttachList
400 226 43.5% 11-Feb-95 12:06:16 +28.GU_AddTail
381 215 43.5% 11-Feb-95 12:04:46 +29.GU_ChangeStr
404 211 47.7% 18-Jun-95 21:34:06 +30.GU_CreateContext
539 278 48.4% 18-Jun-95 21:49:34 +31.GU_GetGadgetAttrsA
467 249 46.6% 18-Jun-95 21:42:04 +32.GU_CreateMenusA
377 206 45.3% 18-Jun-95 21:40:30 +33.GU_FreeMenus
493 259 47.4% 18-Jun-95 22:11:56 +34.GU_LayoutMenuItemsA
466 261 43.9% 18-Jun-95 22:12:42 +35.GU_LayoutMenusA
510 266 47.8% 18-Jun-95 21:45:46 +36.GU_GetVisualInfoA
396 207 47.7% 18-Jun-95 21:44:38 +37.GU_FreeVisualInfo
412 221 46.3% 18-Jun-95 21:46:46 +38.GU_BeginRefresh
423 235 44.4% 18-Jun-95 21:47:36 +39.GU_EndRefresh
441 228 48.2% 18-Jun-95 21:48:22 +40.GU_FilterIMsg
485 250 48.4% 18-Jun-95 21:50:54 +41.GU_PostFilterIMsg
1028 510 50.3% 18-Jun-95 22:09:50 +42.GU_ReplyIMsg
499 269 46.0% 18-Jun-95 21:42:34 +43.GU_DrawBevelBoxA
376 209 44.4% 11-Feb-95 12:00:16 +44.GU_FindNode
375 214 42.9% 11-Feb-95 12:05:36 +45.GU_NodeUp
383 219 42.8% 11-Feb-95 12:05:50 +46.GU_NodeDown
971 427 56.0% 10-Oct-95 20:56:40 +47.GU_UpdateProgress
334 173 48.2% 09-Jan-95 14:01:46 +99.GU_NewFunction
47426 16585 65.0% 16-Oct-95 21:04:52 +dev_historia.guide
7129 2528 64.5% 04-Jul-95 22:43:18 +dev_history.guide
7342 1328 81.9% 02-Nov-94 13:58:34 +gadtools.tags
62592 16713 73.2% 16-Oct-95 21:39:38 +GadUtil.doc
77340 18156 76.5% 16-Oct-95 21:55:18 +GadUtil.guide
1276 763 40.2% 16-Oct-95 21:56:20 +GadUtil.guide.info
1640 738 55.0% 30-Aug-95 11:31:22 +GadUtil.manual
490 196 60.0% 30-Aug-95 11:20:04 +GadUtil.manual.info
7712 2822 63.4% 30-Aug-95 11:33:56 +GUtilInfo.txt
340 97 71.4% 04-Jan-95 15:42:12 +PrivateFunctions
564 235 58.3% 01-Sep-95 21:18:14 +Examples.info
7009 2581 63.1% 20-Apr-95 19:59:30 +- GadToolsBug.s -
564 230 59.2% 20-Apr-95 20:29:52 +AnyProgram.info
1261 625 50.4% 23-Feb-95 17:17:12 +- LΣs den hΣr -
1059 550 48.0% 23-Feb-95 16:09:28 +anyprogram.cd
1567 800 48.9% 16-Jun-95 17:50:36 +anyprogram.ct
21381 6958 67.4% 30-Aug-95 12:02:14 +AnyProgram.s
564 226 59.9% 20-Apr-95 20:29:54 +BetterTest-C.info
8216 4688 42.9% 16-Jan-95 20:49:58 +BetterTest
12185 3511 71.1% 16-Jan-95 20:50:04 +BetterTest.c
835 395 52.6% 16-Jan-95 20:49:58 +BetterTest.info
229 134 41.4% 26-Dec-94 01:06:30 +led.asm
120 100 16.6% 26-Dec-94 01:06:32 +led.o
564 232 58.8% 20-Apr-95 20:29:42 +BetterTest.info
3252 1737 46.5% 08-Jan-95 01:58:36 +BetterTest
653 338 48.2% 16-Jun-95 20:35:54 +BetterTest.cd
563 324 42.4% 16-Jun-95 20:36:04 +BetterTest.ct
17129 5067 70.4% 12-Apr-95 22:51:14 +BetterTest.s
446 260 41.7% 12-Dec-94 23:25:18 +BetterTest.catalog
10027 2838 71.6% 20-Apr-95 20:00:10 +BevelTest.s
1260 496 60.6% 20-Apr-95 20:01:02 +ExternTestInit.s
13914 4475 67.8% 12-Apr-95 22:41:02 +LVTest.s
17492 5051 71.1% 30-Aug-95 21:29:04 +mytestprog.s
564 232 58.8% 20-Apr-95 20:29:48 +OldInternal.info
360 226 37.2% 05-Jan-95 23:22:18 +internaltest.catalog
461 258 44.0% 05-Jan-95 23:22:22 +internaltest.cd
447 279 37.5% 05-Jan-95 23:22:22 +internaltest.ct
13664 3792 72.2% 30-Aug-95 11:41:26 +OldInternal.s
564 230 59.2% 20-Apr-95 20:29:46 +OldTestProgs.info
10082 2765 72.5% 30-Aug-95 12:20:36 +GadUtilLibTest.s
16625 5298 68.1% 20-Apr-95 20:16:00 +HotKeysTest.s
1996 1055 47.1% 08-Dec-94 13:57:20 +TBLR_test
11548 3203 72.2% 30-Aug-95 12:53:24 +TBLR_test.s
8086 2828 65.0% 30-Aug-95 11:58:02 +ThreeGadgets.s
564 226 59.9% 01-Sep-95 21:18:12 +ExtraCmds.info
25044 14574 41.8% 17-Jun-95 14:42:44 +AskEnv
16676 8650 48.1% 05-Jan-95 20:25:34 +fd2pragma
2754 1289 53.1% 05-Jan-95 20:25:48 +fd2pragma.readme
5932 3511 40.8% 17-Jun-95 14:42:46 +XIcon
959 370 61.4% 15-Sep-95 12:34:16 +def_doc.info
1276 761 40.3% 15-Sep-95 12:34:18 +def_guide.info
564 225 60.1% 01-Sep-95 21:18:14 +Include.info
3193 939 70.5% 21-Oct-95 20:54:50 +gadutil_protos.h
2312 902 60.9% 21-Oct-95 20:55:02 +gadutil_lib.fd
17245 4851 71.8% 21-Oct-95 20:55:32 +gadutil.h
17230 5127 70.2% 21-Oct-95 20:55:58 +gadutil.i
3391 1081 68.1% 21-Oct-95 20:55:12 +gadutil_lib.i
43346 10021 76.8% 31-Aug-95 16:31:34 +LVOs.i
184 128 30.4% 24-Dec-94 13:55:02 +gadutil.h
23959 5802 75.7% 15-Sep-95 12:35:04 +Install
1856 1005 45.8% 08-Sep-95 15:36:24 +Install.info
3931 671 82.9% 17-Jun-95 14:50:42 +install.script
1409 525 62.7% 01-Jun-95 19:09:50 +InstallInc.gad
549 320 41.7% 01-Sep-95 21:18:14 +InstallInc.info
564 232 58.8% 01-Sep-95 21:18:14 +libs.info
10964 6484 40.8% 16-Oct-95 22:17:36 +gadutil.library
19188 9333 51.3% 16-Oct-95 22:18:38 +gadutil.library_dbg
-------- ------- ----- --------- --------
739565 253292 65.7% 28-Oct-95 12:52:18 126 files